package com.wswy.wyjk.baiduAnalysis;

import android.app.Activity;
import android.support.annotation.NonNull;

import com.baidu.mobstat.StatService;
import com.raft.framework.BaseAppContext;

class BaiduTracker implements ITracker {

    @Override
    public void sendClick(@NonNull String eventId) {
        StatService.onEvent(BaseAppContext.getContext(),eventId,"click",1);
    }

    @Override
    public void onResume(Activity activity) {
        StatService.onResume(activity);
    }

    @Override
    public void onPause(Activity activity) {
        StatService.onPause(activity);
    }
}
